package work2.phone;
/**
 *
 * （3）上网套餐类 特征：上网流量、每月资费 行为：显示所有套餐信息
 *
 * */
public class InternetPlan {

    private int flow;
    private int monthFee;


    public int getFlow() {
        return flow;
    }

    public void setFlow(int flow) {
        this.flow = flow;
    }

    public int getMonthFee() {
        return monthFee;
    }

    public void setMonthFee(int monthFee) {
        this.monthFee = monthFee;
    }

    public void show(){
        System.out.println("上网流量:" + flow + "  每月消费:" + monthFee);
    }
}
